﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Slock.Utility
{
    /// <summary>
    /// Defines a 3 dimensional point
    /// </summary>
    public struct Point3
    {
        public int X;
        public int Y;
        public int Z;

        /// <summary>
        /// Creates a new instance of point 3
        /// </summary>
        /// <param name="value"></param>
        public Point3(int value)
            : this(value, value, value)
        { }

        public Point3(int x, int y, int z) 
            : this(ref x, ref y, ref z)
        { }

        public Point3(ref int x, ref int y, ref int z)
        {
            X = x;
            Y = y;
            Z = z;
        }
    }
}
